package com.his.diagnose.vo;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class DiagnosisresultVo {
    /**
     *
     * 流水号
     *
     * @mbggenerated
     */
    @NotEmpty(message = "病人流水号不能为空")
    private String serialnumber;

    /**
     *
     * 病人id
     *
     * @mbggenerated
     */
    @NotEmpty(message = "病人id不能为空")
    private String patiid;

    /**
     *
     * 科室ID
     *
     * @mbggenerated
     */
    @NotEmpty(message = "科室ID不能为空")
    private String orgid;

    /**
     *
     * 医师id
     *
     * @mbggenerated
     */
    @NotEmpty(message = "医师编码不能为空")
    private String empidDoct;
    /**
     * 诊断列表
     */
    @NotNull(message = "诊断不能为空")
    @Valid
    private List<DiagnosisVo> diagnosisVoList;

}